package com.itheima.service;

import com.itheima.pojo.Emp;
import com.itheima.pojo.PageBean;

import java.time.LocalDate;
import java.util.List;

/**
 * 员工管理
 */
public interface EmpService {
    PageBean page(Integer page, Integer pageSize,
                  String name, Short gender,
                  LocalDate begin,
                  LocalDate end);

    void del(List<Integer> ids);

    void sava(Emp emp);

    Emp getById(Integer id);

    Emp edit(Emp emp);

    Emp login(Emp emp);
}
